﻿using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace HobSoft.SoccerBet2014.Domain.Common.BfApi
{
    [JsonObject(MemberSerialization.OptIn)]
    public class ApiError
    {
        // exception in json-rpc format
        [JsonProperty(PropertyName = "data")]
        public JObject Data { get; set; }		// actual exception details

        // exception in rescript format
        [JsonProperty(PropertyName = "detail")]
        public JObject Detail { get; set; }		// actual exception details
    }
}
